﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;

namespace Daycare.Services
{
    public class PopupService
    {
        public static void ShowPopup(AjaxControlToolkit.ModalPopupExtender mpe, String statusMessage)
        {
            Label lblStatus = (Label)mpe.FindControl("lblStatusMessage");
            lblStatus.Text = statusMessage;

            mpe.Show();
        }
    }
}